package com.whmall.service.crm.entity.dto.companyusererrorcorrection;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 纠错查询条件
 *
 * @author qiao shengda
 * @since 2021/5/27
 */
@Data
public class CorrectionQueryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否回复
     * */
    private Integer isResponse;

    /**
     * 纠错开始时间
     * */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date correctionStart;

    /**
     * 纠错结束时间
     * */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date correctionEnd;

    /**
     * 回复开始时间
     * */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date responseStart;

    /**
     * 回复结束时间
     * */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date responseEnd;

}

